<!-- 导入数据弹窗 -->
<div class="panel panel-primary update-data-div" style="text-align: center" id="import-panel" >
    <div class="panel-heading">
        <h3 class="panel-title">导入数据</h3>
    </div>
    <div class="panel-body" style="text-align: center">
        <div class="form-group">
            <label>选择文件</label>
            <span class="">（导入文件,仅支持xls,xlsx）</span> <br>
            <span class=""> 需要严格按照模板格式 <a style="color: red;font-weight: bold" target="_blank" href="/upload/file/customer_temple.xlsx">点击下载模板</a> </span>
            <br/>
            {assign name="file_id" value="$info.file_id|default='0'" /}
            {:widget('file/index', ['name' => 'file_id', 'value' => $file_id, 'type' => 'file','xls'])}
        </div>
        <button onclick="upload_file()" class="btn import">导 入</button>
    </div>
</div>